<div class="users view">
<h2><?php  __('User');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('User Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['user_name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Email'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['email']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Password'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['password']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Profile Image'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['profile_image']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Inspiration Image'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['inspiration_image']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Promo Video'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['promo_video']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Location'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['location']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Url'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['url']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Bio'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['bio']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Mission'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['mission']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Accomplishment'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['accomplishment']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Vision'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['vision']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('User Type'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['user_type']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit User', true), array('action' => 'edit', $user['User']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete User', true), array('action' => 'delete', $user['User']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $user['User']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Users', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Corporations', true), array('controller' => 'corporations', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Corporation', true), array('controller' => 'corporations', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Enrolls', true), array('controller' => 'enrolls', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Enroll', true), array('controller' => 'enrolls', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Jido Comments', true), array('controller' => 'jido_comments', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Jido Comment', true), array('controller' => 'jido_comments', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Product Comments', true), array('controller' => 'product_comments', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Product Comment', true), array('controller' => 'product_comments', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Products', true), array('controller' => 'products', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Product', true), array('controller' => 'products', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Programs', true), array('controller' => 'programs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Program', true), array('controller' => 'programs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Team Members', true), array('controller' => 'team_members', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Team Member', true), array('controller' => 'team_members', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Teams', true), array('controller' => 'teams', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Team', true), array('controller' => 'teams', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List User Areas', true), array('controller' => 'user_areas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User Area', true), array('controller' => 'user_areas', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Corporations');?></h3>
	<?php if (!empty($user['Corporation'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Full Name'); ?></th>
		<th><?php __('Title'); ?></th>
		<th><?php __('Company'); ?></th>
		<th><?php __('Telephone'); ?></th>
		<th><?php __('Email'); ?></th>
		<th><?php __('Comments'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['Corporation'] as $corporation):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $corporation['id'];?></td>
			<td><?php echo $corporation['user_id'];?></td>
			<td><?php echo $corporation['full_name'];?></td>
			<td><?php echo $corporation['title'];?></td>
			<td><?php echo $corporation['company'];?></td>
			<td><?php echo $corporation['telephone'];?></td>
			<td><?php echo $corporation['email'];?></td>
			<td><?php echo $corporation['comments'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'corporations', 'action' => 'view', $corporation['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'corporations', 'action' => 'edit', $corporation['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'corporations', 'action' => 'delete', $corporation['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $corporation['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Corporation', true), array('controller' => 'corporations', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Enrolls');?></h3>
	<?php if (!empty($user['Enroll'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Program Id'); ?></th>
		<th><?php __('Enrool Date'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['Enroll'] as $enroll):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $enroll['id'];?></td>
			<td><?php echo $enroll['user_id'];?></td>
			<td><?php echo $enroll['program_id'];?></td>
			<td><?php echo $enroll['enrool_date'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'enrolls', 'action' => 'view', $enroll['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'enrolls', 'action' => 'edit', $enroll['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'enrolls', 'action' => 'delete', $enroll['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $enroll['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Enroll', true), array('controller' => 'enrolls', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Jido Comments');?></h3>
	<?php if (!empty($user['JidoComment'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Jido Id'); ?></th>
		<th><?php __('Comments'); ?></th>
		<th><?php __('Comments Date'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['JidoComment'] as $jidoComment):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $jidoComment['id'];?></td>
			<td><?php echo $jidoComment['user_id'];?></td>
			<td><?php echo $jidoComment['jido_id'];?></td>
			<td><?php echo $jidoComment['comments'];?></td>
			<td><?php echo $jidoComment['comments_date'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'jido_comments', 'action' => 'view', $jidoComment['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'jido_comments', 'action' => 'edit', $jidoComment['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'jido_comments', 'action' => 'delete', $jidoComment['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $jidoComment['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Jido Comment', true), array('controller' => 'jido_comments', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Product Comments');?></h3>
	<?php if (!empty($user['ProductComment'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Product Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Comment Title'); ?></th>
		<th><?php __('Comments'); ?></th>
		<th><?php __('Comments Date'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['ProductComment'] as $productComment):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $productComment['id'];?></td>
			<td><?php echo $productComment['product_id'];?></td>
			<td><?php echo $productComment['user_id'];?></td>
			<td><?php echo $productComment['comment_title'];?></td>
			<td><?php echo $productComment['comments'];?></td>
			<td><?php echo $productComment['comments_date'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'product_comments', 'action' => 'view', $productComment['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'product_comments', 'action' => 'edit', $productComment['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'product_comments', 'action' => 'delete', $productComment['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $productComment['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Product Comment', true), array('controller' => 'product_comments', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Products');?></h3>
	<?php if (!empty($user['Product'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Product Title'); ?></th>
		<th><?php __('Product Description'); ?></th>
		<th><?php __('Product Url'); ?></th>
		<th><?php __('Product Image'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['Product'] as $product):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $product['id'];?></td>
			<td><?php echo $product['user_id'];?></td>
			<td><?php echo $product['product_title'];?></td>
			<td><?php echo $product['product_description'];?></td>
			<td><?php echo $product['product_url'];?></td>
			<td><?php echo $product['product_image'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'products', 'action' => 'view', $product['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'products', 'action' => 'edit', $product['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'products', 'action' => 'delete', $product['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $product['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Product', true), array('controller' => 'products', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Programs');?></h3>
	<?php if (!empty($user['Program'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('What'); ?></th>
		<th><?php __('Why'); ?></th>
		<th><?php __('When Start'); ?></th>
		<th><?php __('When End'); ?></th>
		<th><?php __('Create Date'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['Program'] as $program):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $program['id'];?></td>
			<td><?php echo $program['user_id'];?></td>
			<td><?php echo $program['what'];?></td>
			<td><?php echo $program['why'];?></td>
			<td><?php echo $program['when_start'];?></td>
			<td><?php echo $program['when_end'];?></td>
			<td><?php echo $program['create_date'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'programs', 'action' => 'view', $program['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'programs', 'action' => 'edit', $program['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'programs', 'action' => 'delete', $program['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $program['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Program', true), array('controller' => 'programs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Team Members');?></h3>
	<?php if (!empty($user['TeamMember'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Teamwill Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['TeamMember'] as $teamMember):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $teamMember['id'];?></td>
			<td><?php echo $teamMember['teamwill_id'];?></td>
			<td><?php echo $teamMember['user_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'team_members', 'action' => 'view', $teamMember['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'team_members', 'action' => 'edit', $teamMember['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'team_members', 'action' => 'delete', $teamMember['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $teamMember['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Team Member', true), array('controller' => 'team_members', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Teams');?></h3>
	<?php if (!empty($user['Team'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('What'); ?></th>
		<th><?php __('Why'); ?></th>
		<th><?php __('When Start'); ?></th>
		<th><?php __('When End'); ?></th>
		<th><?php __('Create Date'); ?></th>
		<th><?php __('Profile Image'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['Team'] as $team):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $team['id'];?></td>
			<td><?php echo $team['user_id'];?></td>
			<td><?php echo $team['what'];?></td>
			<td><?php echo $team['why'];?></td>
			<td><?php echo $team['when_start'];?></td>
			<td><?php echo $team['when_end'];?></td>
			<td><?php echo $team['create_date'];?></td>
			<td><?php echo $team['profile_image'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'teams', 'action' => 'view', $team['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'teams', 'action' => 'edit', $team['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'teams', 'action' => 'delete', $team['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $team['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Team', true), array('controller' => 'teams', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related User Areas');?></h3>
	<?php if (!empty($user['UserArea'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Focus Area Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['UserArea'] as $userArea):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $userArea['id'];?></td>
			<td><?php echo $userArea['user_id'];?></td>
			<td><?php echo $userArea['focus_area_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'user_areas', 'action' => 'view', $userArea['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'user_areas', 'action' => 'edit', $userArea['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'user_areas', 'action' => 'delete', $userArea['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $userArea['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New User Area', true), array('controller' => 'user_areas', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
